import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { chartResize } from './directive'
// import { wsManager } from '@/utils/websocket/ws-manager'

import '@/styles/index.css'

const app = createApp(App)

app.use(router)
app.directive('chart-resize', chartResize)

// 初始化 WebSocket 服务
// wsManager.initService({
//   url: import.meta.env.VITE_WS_URL
// })

app.mount('#app')
